#ifndef XMLCLIENT_HH_
#define XMLCLIENT_HH_
#include <QtNetwork>

class XmlClient: public QObject {
    Q_OBJECT

    public: QString const host;
    public: uint16_t const port;
    protected: QTcpSocket socket;

    public: XmlClient(QString const& host, uint16_t port);

    public: ~XmlClient();

    public: void send(QString const& message);

    signals: void data_available(QString const&);

    public slots: void read_data();
};

#endif // ndef XMLCLIENT_HH_
